﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QuanLyKhachSanBUS.QuanLyKhachSanDAO;

namespace QuanLyKhachSanBUS.BUS
{
    public class PhongBUS
    {
        private QuanLyKhachSanDAO.Service1SoapClient ws = new Service1SoapClient();
        public PhongDTO[] LayDanhSachPhong()
        {
            return ws.LayDanhSachPhong();
        }
        public bool LapDanhMucPhong(PhongDTO ph)
        {
            return ws.LapDanhMucPhong(ph);
        }
        public PhongDTO[] LayDanhSachPhongTheoMaLoai(int maLoai)
        {
            return ws.LayDanhSachPhongTheoMaLoai(maLoai);
        }
    }
}